/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author pipo
 */

package mainGame;

//Game item is the general class for the dynamic map objects that are prone to change
public class GameItem {
    
    protected int coorX, coorY;
    protected String name;
    
    public GameItem()
    {
        this.coorX = 0;
        this.coorY = 0;
    }
    
    public GameItem(int X , int Y , String name)
    {
        this.coorX = X;
        this.coorY = Y;
        this.name = name;
    }
    
        
    public int getXCoor()
    {
        return this.coorX;
        
    }
    
    public int getYCoor()
    {
        return this.coorY;
    }
    
    
    public String getName()
    {
        
        return this.name;
    }
    

  
    
}
